﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Optimization;

namespace HitMapsNew.App_Start
{
    public class BundleConfig
    {
        // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/Scripts/Jquery").Include(
                        "~/Scripts/Jquery/jquery-2.1.1.min.js"));

            bundles.Add(new ScriptBundle("~/Scripts/Jquery/jqueryval").Include(
                        "~/Scripts/jquery/validate/*.js"));


            bundles.Add(new StyleBundle("~/Style").Include(
                      "~/Style/site.css"));

            bundles.Add(new ScriptBundle("~/bundles/Angular")
                .Include("~/Scripts/Angular/angular.min.js"));

            bundles.Add(new ScriptBundle("~/bundles/Angular-maps-addons")
                .Include("~/Scripts/Angular/ng-map.min.js")
                //.IncludeDirectory("~/Scripts/Angular/ngMaps", "*.js", true)
                .Include("~/Scripts/Angular/treeView.js"));

            bundles.Add(new ScriptBundle("~/bundles/HitMapsApp")
                .IncludeDirectory("~/Scripts/Controllers", "*.js")
                .Include("~/Scripts/HitMaps.js"));
        }
    }
}